	/**
	 * @function loadList
	 * @access   public
	 * @author   Vo Thanh Minh <thanhminhld@yahoo.com - thanhminhld@gmail.com>
	 * @param    int
	 * @return   array
	 */
	public function loadList($arrWhere = array(), $limit = 10, $offset = 0)
	{
        if ($limit == 'all') {
            $query = $this->db->get_where($this->_tbl, $arrWhere);
        } else {
            $query = $this->db->get_where($this->_tbl, $arrWhere, $limit, $offset);
        }
        $arrList = array();
        if ($query->num_rows() > 0) {
            foreach($query->result() as $row) {
                $arrList[] = $row;
            }
        }
		return $arrList;
	}
